github.com/segmentio/asm/cpu/x86.CPU.set (method)
26 uses
github.com/segmentio/asm/cpu/x86 (current package)
x86.go#L14: func (cpu *CPU) set(feature Feature, enable bool) {
x86.go#L50: cpu.set(SSE, true) // TODO: golang.org/x/sys/cpu assumes all CPUs have SEE?
x86.go#L51: cpu.set(SSE2, X86.HasSSE2)
x86.go#L52: cpu.set(SSE3, X86.HasSSE3)
x86.go#L53: cpu.set(SSE41, X86.HasSSE41)
x86.go#L54: cpu.set(SSE42, X86.HasSSE42)
x86.go#L55: cpu.set(SSE4A, false) // TODO: add upstream support in golang.org/x/sys/cpu?
x86.go#L56: cpu.set(SSSE3, X86.HasSSSE3)
x86.go#L57: cpu.set(AVX, X86.HasAVX)
x86.go#L58: cpu.set(AVX2, X86.HasAVX2)
x86.go#L59: cpu.set(AVX512BF16, X86.HasAVX512BF16)
x86.go#L60: cpu.set(AVX512BITALG, X86.HasAVX512BITALG)
x86.go#L61: cpu.set(AVX512BW, X86.HasAVX512BW)
x86.go#L62: cpu.set(AVX512CD, X86.HasAVX512CD)
x86.go#L63: cpu.set(AVX512DQ, X86.HasAVX512DQ)
x86.go#L64: cpu.set(AVX512ER, X86.HasAVX512ER)
x86.go#L65: cpu.set(AVX512F, X86.HasAVX512F)
x86.go#L66: cpu.set(AVX512IFMA, X86.HasAVX512IFMA)
x86.go#L67: cpu.set(AVX512PF, X86.HasAVX512PF)
x86.go#L68: cpu.set(AVX512VBMI, X86.HasAVX512VBMI)
x86.go#L69: cpu.set(AVX512VBMI2, X86.HasAVX512VBMI2)
x86.go#L70: cpu.set(AVX512VL, X86.HasAVX512VL)
x86.go#L71: cpu.set(AVX512VNNI, X86.HasAVX512VNNI)
x86.go#L72: cpu.set(AVX512VP2INTERSECT, false) // TODO: add upstream support in golang.org/x/sys/cpu?
x86.go#L73: cpu.set(AVX512VPOPCNTDQ, X86.HasAVX512VPOPCNTDQ)
x86.go#L74: cpu.set(CMOV, true) // TODO: golang.org/x/sys/cpu assumes all CPUs have CMOV?
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |